
package com.insigma.business.qrcode.soldier.service;



import com.insigma.business.qrcode.soldier.dto.GovResourceBSearcher;
import com.insigma.business.qrcode.soldier.entity.GovResourceDO;

import java.util.List;


public interface GovResourceService {

    
    List<GovResourceDO> search(final GovResourceBSearcher innerSearcher);

    
    GovResourceDO get(final String id);

    
    Integer insert(final GovResourceDO govResource);

    
    Integer update(final GovResourceDO govResource);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    
    GovResourceDO getByCode(String parentCode);


    List<GovResourceDO>  listByRoleId(String roleId);

    
    List<GovResourceDO> getByParentCode(String parentCode);
}
